package com.zlikun.lq.l_11_1_4;

public class MyExceptionMain {

	public static void main(String[] args) throws MyException {
		String [] sex = {"女性","男性","中性"};
		for (String s : sex) {
			if(s.equals("中性")){
				throw new  MyException("你们家有中性");
			}else{
				System.out.println(s);
			}
		}
	}

}
